const $0chem = require('../../utils/mol2view.1.0.4.js')

Page({
  data: {
  },
  onReady() {
    this.init()
  },
  onLoad: function (options) {
  },
  init() {
    const data=" 27 29  0     1  0            999 V2000\n" +
    "   11.2820   -9.5684    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   10.6145   -9.8900    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   10.8695  -10.5112    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   11.6945  -10.5112    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   11.9494   -9.8900    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   10.8695  -11.3362    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   10.6145   -9.0650    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    9.7895   -9.0650    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   11.9494   -9.0650    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   13.4608   -7.6139    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   14.1752   -8.0265    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   14.1752   -8.8515    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   13.4608   -9.2640    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   12.7463   -8.8515    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   12.0193   -7.7320    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   12.7463   -8.0265    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   11.5001   -8.3731    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   13.4608   -6.7889    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "   11.6945  -11.3362    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    8.9645   -9.0650    0.0000 P   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    8.9645   -8.2400    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    8.9645   -9.8900    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    8.1395   -9.0650    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    7.3145   -9.0650    0.0000 P   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    7.3145   -8.2400    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    7.3145   -9.8900    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "    6.4895   -9.0650    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0\n" +
    "  1  2  1  0     0  0\n" +
    "  1  5  1  0     0  0\n" +
    "  2  3  1  1     0  0\n" +
    "  2  7  1  0     0  0\n" +
    "  3  4  1  1     0  0\n" +
    "  3  6  1  0     0  0\n" +
    "  5  4  1  1     0  0\n" +
    "  5  9  1  0     0  0\n" +
    "  7  8  1  0     0  0\n" +
    " 14  9  1  0     0  0\n" +
    "  9 17  1  0     0  0\n" +
    " 10 11  2  0     0  0\n" +
    " 10 16  1  0     0  0\n" +
    " 10 18  1  0     0  0\n" +
    " 11 12  1  0     0  0\n" +
    " 12 13  2  0     0  0\n" +
    " 13 14  1  0     0  0\n" +
    " 16 14  2  0     0  0\n" +
    " 15 16  1  0     0  0\n" +
    " 15 17  2  0     0  0\n" +
    "  4 19  1  0     0  0\n" +
    "  8 20  1  0     0  0\n" +
    " 20 21  2  0     0  0\n" +
    " 20 22  1  0     0  0\n" +
    " 20 23  1  0     0  0\n" +
    " 23 24  1  0     0  0\n" +
    " 24 25  2  0     0  0\n" +
    " 24 26  1  0     0  0\n" +
    " 24 27  1  0     0  0\n" +
    "M  END\n"
    $0chem.mol2view("myCanvas",data);
  }
})